package com.lixin.smartclassroom.ui.home.tab5.activity

import com.lixin.smartclassroom.databinding.ActivityAboutUsBinding
import com.lixin.smartclassroom.databinding.ActivityContactUsBinding
import com.lixin.smartclassroom.ui.WebHtmlActivity
import com.lixinkeji.activity.WebActivity
import com.lixinkeji.base.BaseActivity
import com.lixinkeji.extension.onClick
import com.lixinkeji.extension.start

/**
 * Description 关于我们
 * Author: lwc
 * Date:2023/12/9 11:19
 */
class AboutUsAct : BaseActivity<ActivityAboutUsBinding>() {
    override fun getViewBinding() = ActivityAboutUsBinding.inflate(layoutInflater)

    override fun topBarHide() = false
    override fun startPadding() = true
    override fun title() = "关于我们"


    override fun iniView() {


    }

    override fun onClick() {
        binding.tvPtjs.onClick {
            start(WebHtmlActivity::class.java) {
                putExtra("title", "平台介绍")
                putExtra("type",1)
                putExtra("url", "")
            }
        }

        binding.tvYsxy.onClick {
            start(WebHtmlActivity::class.java) {
                putExtra("title", "隐私协议")
                putExtra("type",3)
                putExtra("url", "")
            }
        }


        binding.tvYhxy.onClick {
            start(WebHtmlActivity::class.java) {
                putExtra("title", "用户协议")
                putExtra("type",2)
                putExtra("url", "")
            }
        }
    }


}